草庐IT

Android Chromium WebView 崩溃

全部标签

iphone - CAKeyframeAnimation 崩溃

我正在尝试使用以下代码制作一个简单的CAKeyframeAnimation:-(void)viewDidLoad{[superviewDidLoad];//Doanyadditionalsetupafterloadingtheview.CALayer*rotLayer=[CALayerlayer];rotLayer.bounds=CGRectMake(0.0,0.0,100.0,50.0);rotLayer.anchorPoint=CGPointMake(0.5,0.5);rotLayer.position=CGPointMake(160.0,200.0);rotLayer.backg

iphone - 将行插入到 UITableView 崩溃

我正在开发一个应用程序,需要在后台加载一些数据,然后使用UITableView显示数据。下面是一些代码,在后台加载数据:-(void)loadRelatedItems{NSAutoreleasePool*pool=[[NSAutoreleasePoolalloc]init];for(NSString*mediaTypeinallMediaTypes){[selfperformSelector:@selector(loadRelatedItems:)withObject:mediaType];}NSString*notificationName=[CommonFunctionallRel

iPhone App 崩溃日志 - 如何在崩溃日志中获取类名和方法名?

我正在使用PLCrashReporter要获取我的应用程序的崩溃日志,我从崩溃日志中获取以下信息Basiccom.iMobDev.weed6.0x86_641.01.0/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator6.0.sdk/System/Library/Frameworks/QuartzCore.framework/QuartzCore0x2e4a000-0x2e9c000AppSupportarmv6/Appl

ios - 核心数据间歇性崩溃 [NSEntityDescription entityForName :inManagedObjectContext:]

我有一位使用iPad2的客户遇到了崩溃,我无法重现它。崩溃报告:LastExceptionBacktrace:0CoreFoundation0x37a5429e__exceptionPreprocess1libobjc.A.dylib0x32b3b97aobjc_exception_throw2CoreData0x317438d8+[NSEntityDescriptionentityForName:inManagedObjectContext:]3MyApp0x000fc916-[DetailViewControllerfetchedResultsController](DetailV

iOS- deleteRowsAtIndexPaths 崩溃

我正在尝试使用以下代码删除。[superdeleteRowsAtIndexPaths:indexPathswithRowAnimation:UITableViewRowAnimationFade];它返回多个异常。***Assertionfailurein-[UITableView_endCellAnimationsWithContext:],/SourceCache/UIKit_Sim/UIKit-2372/UITableView.m:10702013-01-2916:28:22.628Terminatingappduetouncaughtexception'NSInternalIn

iphone - resignFirstResponder 有后续处理问题(键盘关闭受阻或在 iPhone 5 上崩溃)

我有以下工作流程:InputinTextfield->(ReturnkeyofTextFieldpressed:resignFirstResponder,IBActionofButtoncalled)->IBActionofButton:performanintensiveoperation问题是在使用resignFirstResponder关闭键盘之前开始密集操作。正如其他帖子所建议的那样(例如https://stackoverflow.com/a/3452767/1685971),我尝试使用:-(BOOL)textFieldShouldReturn:(UITextField*)te

ios - 使用键值观察和ECSlidingView库主线程崩溃

我正在使用NSKeyValueChange来刷新从Web服务获取图像后出现在TableView中的图像。-(void)observeValueForKeyPath:(NSString*)keyPathofObject:(id)objectchange:(NSDictionary*)changecontext:(void*)context{if([keyPathisEqual:@"thumbnail"]){UIImage*newImage=[changeobjectForKey:NSKeyValueChangeNewKey];if(newImage!=(id)[NSNullnull]){

ios - MonoTouch 自定义 UIButton 在加载时崩溃 : Selector invoked from objective-c on a managed object that has been GC'd

我正在使用MonoTouch并创建了一个扩展UIButton的类MyButton。这实际上是我在使用customUIScrollView时遇到的相同问题的简化示例.MyButton扩展了UIButton并添加了一些方法来做一些简单的事情,比如递增和递减计数器(这只是一个测试用例)。我还在我的类定义之前包含了“[Register("MyButton")]”,以便它向InterfaceBuilder(IB)注册,这样我就可以添加一个UIButton并将其类指定为MyButton。有效的方法:我可以通过编程方式将MyButton的实例添加到我的主视图,它会正确显示并按预期运行。什么不起作用:

ios - 当我点击 map 时,它会在 iOS5 的初始时间崩溃吗?

for(inti=0;i1){lattitudeValue=[[[delarsInfoArrayobjectAtIndex:i]valueForKey:@"LATITUDE"]objectAtIndex:1];longitudeValue=[[[delarsInfoArrayobjectAtIndex:i]valueForKey:@"LONGITUDE"]objectAtIndex:0];}else{lattitudeValue=@"";longitudeValue=@"";}CLLocationCoordinate2DpinLocation;if(([lattitudeValuefl

iphone - MpMovieplayer 在提醒警报弹出期间崩溃

我遇到了这个奇怪的问题。当我使用MpMoviePlayerController播放任何视频时,如果我收到任何提醒警报并且我选择了关闭,那么我的应用程序将崩溃并显示日志:"AnAVPlayerItemcannotbeassociatedwithmorethanoneinstanceofAVPlayer".我只使用了一个MpPlayerController实例。我用谷歌搜索了这个问题,发现如果我设置MpMoviePlayerController的属性useApplicationAudioSession=NO就可以避免这种情况,那么我就不会遇到任何崩溃。但问题是此属性在IOS6之后被弃用,苹